/*
 * @Date: 2022-03-30 09:14:07
 * @LastEditors: fenglan
 * @LastEditTime: 2022-03-30 13:06:35
 * @FilePath: /payment/pay/src/components/HOC/HocButton/HocBUtton.jsx
 */
import React, { Component } from 'react'
import './index.css'
const HocBUtton=(CommButton)=>{
  class ButtonComponent extends Component {
    handleAuth=()=>{
    }
    componentDidMount(){
      this.handleAuth()
    }
    render(){
      return(
        <>
        <CommButton {...this.props}></CommButton>
        </>
      )
    }
  }
  return ButtonComponent
}
export default HocBUtton